package com.coco.bargain.service.impl;

import com.coco.bargain.mapper.BargainUserHelpMapper;
import com.coco.bargain.pojo.TbBargainUserHelp;
import com.coco.bargain.service.BargainUserHelpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: guofeng
 * @Date: 2021/07/22/15:30
 * @Description:
 */
@Service
public class BargainUserHelpServiceImpl implements BargainUserHelpService {

    @Autowired
    private BargainUserHelpMapper bargainUserHelpMapper;

    @Override
    public TbBargainUserHelp findById(Long id) {
        return bargainUserHelpMapper.findById(id);
    }

    @Override
    public void add(TbBargainUserHelp tbBargainUserHelp) {
        bargainUserHelpMapper.add(tbBargainUserHelp);
    }
}
